package com.erdos.thb.controller;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class MainController extends Application {

	Stage primaryStage;
	Scene scene;

	@Override
	public void start(Stage tempStage) throws Exception {

//		VBox v = new VBox();
////		int FPResult = ZKFPCap.sensorInit();
//		
////		v.getChildren().add();
//		
//		// 构造对应的Stage
//		Scene tempScene = new Scene(v);
//		tempStage.setTitle("提货宝");
//		tempStage.setFullScreen(true); // 全屏显示
//		Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
//		tempStage.setX(primaryScreenBounds.getMinX());
//		tempStage.setY(primaryScreenBounds.getMinY());
//		tempStage.setWidth(primaryScreenBounds.getWidth());
//		tempStage.setHeight(primaryScreenBounds.getHeight());
//		tempStage.setScene(tempScene);
//		tempStage.show();
		
		new PrintController("379505559595", tempStage);
	}

	public static void main(String[] args) {
		launch(args);
	}
}
